Add a release note for scrolled windows
authorMatthias Clasen <mclasen@redhat.com>
Mon, 20 Jun 2016 02:23:06 +0000 (22:23 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 20 Jun 2016 02:23:06 +0000 (22:23 -0400)
Mention the changed sizing behavior and how to address it.

docs/reference/gtk/migrating-3xtoy.xml

index a3b0a6ccda07805bc8337dc65fdef31b92ef2db6..b546cbaa700a7749c1b9835ceb3aa7fb9d56896d 100644 (file)
       currently shown in the UI is to use a #GtkStack (with some 'filler'
       widget, e.g. an empty #GtkBox, in another page).
     </para>
+
+    <para>
+      GtkScrolledWindow now respects the natural size of its child and passes
+      it along. This may change the size distribution of layouts involving
+      scrolled windows (they may take up more space than before). In most
+      cases, setting suitable values for #GtkScrolledWindow:max-content-width
+      and #GtkScrolledWindow:max-content-height will allow control over the
+      size of the scrolled window.
+    </para>
   </section>
 </chapter>